:root {
  --bg: #000;
  --text: #fff;
  --muted: #aaa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

/* THREE CANVAS */
#hero-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Lora', serif;
}

p {
  color: var(--muted);
  margin-top: 1rem;
}

/* HERO */
/* HERO SECTION */

.hero{
  position: relative;        /* important */
  min-height: 90vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:10rem 10%;
  overflow: hidden;
}

/* PARTICLE / CANVAS BACKGROUND */

.hero canvas{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none; /* prevents blocking buttons */
}

/* CONTENT WIDTH */

.hero-content{
  max-width:1000px;
  position: relative;   /* important */
  z-index:5;            /* bring content above animation */
}

/* HEADING */

.hero h1{
  font-size:2.8rem;
  margin-bottom:1rem;
  line-height:1.3;
}

/* DESCRIPTION */

.hero p{
  color:#bbb;
  line-height:1.7;
  margin-bottom:1.5rem;
}

/* TRUST LIST */

.trust{
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem 0;
  display: inline-block;
  text-align: left;
}

.trust li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.6rem;
  color: #ddd;
  line-height: 1.6;
}

/* CHECK ICON */

.trust li::before{
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-weight: bold;
}

/* CTA BUTTONS */

.cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* PRIMARY BUTTON */

.primary-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.35);
}

/* OUTLINE BUTTON */

.outline-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.35);
}

/* SECTIONS */
.section {
  padding: 6rem 10%;
}

.dark {
  background: #050505;
}

/* SECTION TITLES */

.section-title{
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.section-subtitle{
  color: #aaa;
  max-width: 600px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-img {
  width: 100%;
  border-radius: 8px;
  filter: grayscale(100%);
}

/* SERVICES GRID */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* CARD */

.card {
  border: 1px solid #222;
  padding: 2rem;
  background: #0a0a0a;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* CARD HOVER */

.card:hover {
  border-color: #555;
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(255,255,255,0.05);
}

/* CARD HEADER */

.card-header{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:1rem;
}

.card-header i{
  width:28px;
  height:28px;
  color:#fff;
}

/* CARD TITLE */

.card h3{
  font-size:1.2rem;
}

/* SHORT TEXT */

.card-short{
  color:#aaa;
  font-size:0.95rem;
  margin-bottom:1.4rem;
  line-height:1.6;
}

/* BUTTON */

.service-btn{
  border:1px solid #444;
  background:none;
  color:#fff;
  padding:0.5rem 1rem;
  font-size:0.85rem;
  cursor:pointer;
  transition:0.3s;
}

.service-btn:hover{
  background:#fff;
  color:#000;
}

/* DETAILS (HIDDEN BY DEFAULT) */

.service-details{
  margin-top:1.4rem;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:all 0.4s ease;
}

/* OPEN STATE */

.card.active .service-details{
  max-height:600px;
  opacity:1;
}

/* DETAILS TEXT */

.service-details h4{
  margin-bottom:0.6rem;
  font-size:1rem;
}

.service-details h5{
  margin-top:1rem;
  margin-bottom:0.5rem;
  font-size:0.9rem;
  color:#ddd;
}

.service-details p{
  color:#aaa;
  font-size:0.9rem;
  line-height:1.6;
}

/* LISTS */

.service-details ul{
  padding-left:18px;
  margin-bottom:0.8rem;
}

.service-details li{
  color:#bbb;
  font-size:0.9rem;
  margin-bottom:0.3rem;
}

/* CHECKLIST */

.checklist li{
  list-style: "✔ ";
  margin-left:10px;
}

/* SCROLL ANIMATION */

.service-card{
  opacity:1;
  transform: translateY(40px);
  transition:all 0.6s ease;
}

.service-card.show{
  opacity:1;
  transform: translateY(0);
}

/* EXPERIENCE SECTION */

.experience-section{
  position: relative;
}

/* TEXT CONTAINER */

.experience-content{
  max-width: 600px;
}

/* HEADINGS */

.experience-section h2{
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.experience-section h3{
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: #fff;
}

/* PARAGRAPH */

.experience-intro{
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.experience-highlight{
  margin-top: 1rem;
  color: #ddd;
  font-style: italic;
}

/* JOB */

.job-title{
  margin-top: 0.8rem;
  color: #ddd;
}

.job-duration{
  color: #aaa;
  font-size: 0.9rem;
}

/* LISTS */

.why-me{
  padding-top: 20px;
}

.advantage-list,
.experience-list{
  margin-top: 0.6rem;
  margin-bottom: 1rem;
  padding-left: 20px;
}

.advantage-list li,
.experience-list li{
  margin-bottom: 0.35rem;
  color: #ccc;
  line-height: 1.5;
}

/* CHECK STYLE */

.advantage-list li{
  list-style: "✔ ";
}

.experience-list li{
  list-style: "• ";
}

/* NOTE */

.experience-note{
  margin-top: 1rem;
  color: #aaa;
  line-height: 1.6;
}

/* IMAGE IMPROVEMENT */

.section-img{
  width: 100%;
  border-radius: 12px;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

/* IMAGE HOVER */

.section-img:hover{
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* SCROLL ANIMATION */

.experience-content,
.section-img{
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.experience-content.show,
.section-img.show{
  opacity: 1;
  transform: translateY(0);
}

/* CLIENTS SECTION */

.clients-grid{
  align-items: center;
}

/* TEXT */

.clients-content{
  max-width: 560px;
}

.clients-content h2{
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.clients-intro{
  color:#bbb;
  line-height:1.7;
  margin-bottom:1rem;
}

/* CLIENT LIST */

.clients-list{
  padding-left:20px;
  margin-bottom:1rem;
}

.clients-list li{
  list-style:"✔ ";
  margin-bottom:0.4rem;
  color:#ddd;
  line-height:1.6;
  transition:0.3s;
}

/* HOVER EFFECT */

.clients-list li:hover{
  color:#fff;
  transform:translateX(6px);
}

/* NOTE */

.clients-note{
  color:#aaa;
  line-height:1.7;
}

/* IMAGE */

.clients-img{
  width:100%;
  border-radius:12px;
  filter:grayscale(100%);
  transition:all 0.6s ease;
}

/* IMAGE HOVER */

.clients-img:hover{
  filter:grayscale(0%);
  transform:scale(1.04);
}

/* SCROLL ANIMATION */

.clients-content,
.clients-img{
  opacity:0;
  transform:translateY(40px);
  transition:all 0.8s ease;
}

.clients-content.show,
.clients-img.show{
  opacity:1;
  transform:translateY(0);
}

/* MOBILE IMPROVEMENT */

@media(max-width:900px){

  .experience-section h2{
    font-size:2rem;
  }

  .experience-content{
    max-width:100%;
  }

}

/* CTA SECTION */
.cta-section{
  text-align:center;
  max-width:1000px;
  margin:auto;
}

.cta-section h2{
  font-size:2.2rem;
  margin-bottom:1rem;
}

.cta-section p{
  color:#bbb;
  line-height:1.7;
}

.cta-points{
  list-style:none;
  padding:0;
  margin:1.5rem 0;
}

.cta-points li{
  margin-bottom:0.6rem;
  color:#ddd;
}

.email{
  margin-top:1.5rem;
}

.email a{
  color:#fff;
  text-decoration:none;
} 

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

/* MOBILE IMPROVEMENTS */
@media (max-width: 768px) {

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    padding: 150px 20px;
    text-align: center;
    gap: 2rem;
  }

  .hero h1{
    font-size:2rem;
  }

  .hero p {
    font-size: 14px;
    padding: 0 10px;
  }

  .hero-img {
    max-width: 280px;
    margin: 0 auto;
  }

  /* TRUST LIST */
  .trust {
    padding: 0;
  }

  .trust li {
    font-size: 14px;
    margin-bottom: 8px;
  }

  /* CTA BUTTONS */
  .cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta a {
    width: 85%;
    max-width: 280px;
    text-align: center;
  }

  /* SECTIONS */
  .section{
    padding:5rem 6%;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .section-title{
    font-size:2rem;
  }


  .hero {
    grid-template-columns: 1fr;
  }

  .hero-img {
    order: -1;
  }

  img {
  max-width: 100%;
  height: auto;
  display: block;
  }

  .clients-grid{
    grid-template-columns:1fr;
    gap:2rem;
  }

  .clients-content h2{
    font-size:2rem;
  }

}
